#pragma once
#include "istatu.h"
#include "RecvMessageData.h"
#include "ListCtrl.h"
#include "CSlider.h"
class CSMSListStatu :
	public IStatu
{
public:
	CSMSListStatu(WCHAR * name);
	~CSMSListStatu(void);
	virtual bool EnterStatu();

	virtual bool ExitStatu();
	void  LoadMessage(map<wstring,wstring>& mapItem);
	bool downclick();
	bool upclick();
	bool SelMessage();
	virtual bool EvaluateClickEvent(const WCHAR* elementName);


    virtual bool EvaluateDBClickEvent(const WCHAR* elementName);
   CRecvMessageData *m_lpRecvMessages;

   	TCHAR m_SaveFile[256];
    CListCtrl* m_pList; 
	CSlider   *m_pSlider;
	int m_nPageCount;
	int m_nPageIndex;
//	vector<intstrpair> vec_listview_items;

};
